﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/RedesignedMaster.Master" Inherits="System.Web.Mvc.ViewPage<final_darskade.DataBase>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	klassDELETE
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        

<%--<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
--%>
    <h2>DELETEKLASS</h2>


    
     <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" DataSourceID="SqlDataSource1" 
        BorderColor="#43310C" BorderStyle="Solid" BorderWidth="1px" 
        CssClass="GridStyle" >
        <AlternatingRowStyle BorderColor="#43310C" BorderStyle="Solid" 
            BorderWidth="1px" />
        <Columns>
            <asp:CommandField  ShowDeleteButton="True" />
            <asp:BoundField DataField="name" HeaderText="نام درس" SortExpression="name" />
            <asp:BoundField DataField="term" HeaderText="ترم" SortExpression="term" />
            <asp:BoundField DataField="last_name" HeaderText="نام استاد" 
                SortExpression="last_name" />
            <asp:BoundField DataField="day_1" HeaderText="روز اول" SortExpression="day_1" />
            <asp:BoundField DataField="day_2" HeaderText="روز دوم" SortExpression="day_2" />
            <asp:BoundField DataField="day3" HeaderText="روز سوم" SortExpression="day3" />
            <asp:BoundField DataField="start exam date time" 
                HeaderText="روز" SortExpression="start_exam_date_time" />
            <asp:BoundField DataField="end_exam_date_time" HeaderText="پایان روز امتحان"
                SortExpression="end_exam_date_time" />
        </Columns>
        <HeaderStyle BackColor="#DFB04F" BorderColor="#43310C" BorderStyle="Solid" 
            BorderWidth="1px" />
        <RowStyle BorderColor="#43310C" BorderStyle="Solid" BorderWidth="1px" />
    </asp:GridView>
    <br />
    <br />
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</asp:Content>

<%--<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>--%>
